package com.alipay.freeblog.dal.interfaces;

import com.alipay.freeblog.dal.daoobject.TemplateDO;

import java.sql.SQLException;
import java.util.List;

/**
 * User: ning.ln
 * Date: 11-9-24
 * Time: 下午7:11
 * To change this template use File | Settings | File Templates.
 */
public interface TemplateDao {

	public TemplateDO getTemplateByName(String name) throws SQLException;

	public List<TemplateDO> getTemplateListByName(String name) throws SQLException;

	public boolean updateTemplate(TemplateDO templateDO) throws SQLException;
}
